<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>用人需求</title>

    <!--引入公共的easyui文件头-->
    <%@include file="/WEB-INF/views/commons/common_easyui.jsp" %>

    <script type="text/javascript" src="/static/js/system/employeeNeeds.js"></script>
</head>
<body>

<!--begin信息列表-->
<table id="employeeNeeds_datagrid"></table>
<!--end信息列表-->

<!--begin左上角工具栏-->
<div id="employeeNeeds_tb">
    <%--高级查询文本框--%>
    <%--根据时间查询--%>
    部门<input class="easyui-combobox" name="department.id" id="departmentId" data-options="
                    	 url:'department/selectAll',
                        panelHeight:'auto',
	                	valueField: 'id', textField: 'name'">
    <%--根据意向学科名字查询--%>
    申请时间<input class="easyui-datebox" name="beginDate" id="beginDate">~
        <input class="easyui-datebox" name="endDate" id="endDate">
    <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true"
       data-cmd="query">查询</a>
    <br>
<shiro:hasPermission name="employeeNeeds:save">
    <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">增加</a>
</shiro:hasPermission>
<shiro:hasPermission name="employeeNeeds:remove">
    <a href="javascript:;" id="remove" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" data-cmd="remove">删除</a>
</shiro:hasPermission>
<shiro:hasPermission name="employeeNeeds:edit">
    <a href="javascript:;" id="edit" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true"
       data-cmd="edit">编辑</a>
</shiro:hasPermission>
    <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
</div>
<!--end左上角工具栏-->
<%--明细上方的工具栏--%>
<div id="employeeNeedsBill_bb">
    <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true"
       data-cmd="append">添加明细</a>
    <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true"
       data-cmd="removeit">删除明细</a>
    <a href="javascript:;" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true"
       data-cmd="reject">撤销</a>
</div>
<!--begin添加/编辑对话框-->
<div id="employeeNeeds_dialog" align="center">
    <div data-options="region:'north',title:'North Title',split:true" style="height:100px;">
        <form id="employeeNeeds_form" method="post">
            <table style="margin-top: 20px;">
                <input type="hidden" name="id" id="employeeNeedsId">
                <tr>
                    <td>申请部门</td>
                    <td><input class="easyui-combobox" name="department.id" data-options="
                    	 url:'department/selectAll',
                        panelHeight:'auto',
	                	valueField: 'id', textField: 'name'"></td>
                    <td>开始时间</td>
                    <td><input class="easyui-datebox" name="begindate"></td>
                    <td>结束时间</td>
                    <td><input class="easyui-datebox" name="enddate"></td>
                </tr>
            </table>
        </form>
    </div>
    <div data-options="region:'south',title:'South Title',split:true" style="height:100px;">
        <form id="employeeNeedsBill_form" method="post">
            <table style="margin-top: 20px;" id="employeeNeedsBill">
            </table>
        </form>
    </div>
</div>

<!--end添加/编辑对话框-->

<!--begin添加/编辑对话框底部按钮-->
<div id="employeeNeeds_bb">
    <a href="javascript:;" id="save" class="easyui-linkbutton" plain="true" iconCls="icon-save" data-cmd="save">申请</a>
    <a href="javascript:;" class="easyui-linkbutton" plain="true" iconCls="icon-cancel" data-cmd="cancel">取消</a>
</div>
<!--end添加/编辑对话框底部按钮-->

</body>
</html>
